Advanced Anti-Tank Weapon System-Medium, the iconic FGM-148 Javelin.

"History is written by the victor...", General Shepherd. 🇺🇸 🇪🇸

Offers a Fire-and-Forget launch system with automatic infrared guidance. If Javelin can see it, you can kill it.

Features a Top-Down Attack Mode to easily destroy tanks by hitting them where their armor thinnest.
Yes, has a functional iconic top attack mode 😊😊🥳🎉

Uses Direct Attack Mode against helicopters like in real life.

Equipped with shaped charge tandem warhead.

--- 3.0 Update & Instructions Manual & Limitations ---
- This is a big update so I am putting it in here.
- If you are using 3.0 version, any info below 3.0 update notes that conflict with these became obsolete. I will leave them if you wanna keep using old version.

- The missile now has fully automatic and realistic altitude gain and Top-Attack Mode 🥳🎉 thanks to @WarDaddy91 😊😊🎉 You no longer have to fire it upwards. Just fire towards the target like a real Javelin.

- The Direct-Attack Mode still works somehow, although the missile will automatically climb up to match altitude with aircraft now, no longer direct flight to pre-calculated point.

- A custom Javelin CLU Visor, thanks to @WarDaddy91 😊😊 It will replace the Sniper Scopes however, so choose the other one if you don't want them to be replaced. Don't know Add-On scopes are possible.
Also it may not be compatible with every game version. If you are get Game Out of Memory error, try using the one for other version. If still doesn't work, use the one without Custom Scope.

- It is not advisable to engage at planes anymore. Missile will most likely fall behind.

--- Instructions Manual & Limitations ---
- First and foremost, this isn't Call of Duty MW. I did what I could do without even able to use script. Was asked paid service from some script devs but they never returned.

- It is imperative to aim ABOVE the target. The missile has an automatic altitude gain (begins at launch phase) although it is very minor and unlike real life, it requires you to fire it upwards.

- Has 2 stage propulsion. Couldn't manage to simulate a realistic push-out though.

- Do NOT fire it downwards, or you will blast yourself into the Oblivion!! It doesn't feature a propulsion fail-safe!
- Also do not do straight forward dump fires. The missile requires to be locked on to a target in order to activate the automatic climb, despite being very minor, it will save your life.

- I had to retract the stabilizing fins cuz they were clipping through the launcher itself 😥 The only way would be changing the missile model after it being launched, but I don't know is it even possible 🥺😥

--- Efficiency Rates ---
- Highly effective against slow/fast moving ground/aquatic vehicles.
- Best used against armored targets, it's overkill and 80 thousand $$$ taxpayer money waste if you fire at light transports. ( But have fun too 😅😂 )

--- Effective Ranges ---
- Medium-Long distance ground/aquatic vehicles (Aim ABOVE the target / Will activate Top Attack mode).
- Medium distance rotary wing aircraft (helicopters) (Aim TOWARDS or SLIGHTLY ABOVE the target / Will switch to Direct Attack mode).
- Short distance propeller aircraft (Aim AHEAD of the target / Will switch to Direct Attack mode).

- Can not catch up with jet engine aircrafts.
- Ineffective at Short distance against ground/aquatic vehicles (May cause unintended effects).
- Terminal attack phase doesn't always necessarily has to be 80-90 degree. It can be as low as 60 degree, this is quite normal and how a Javelin works in real life.
- Miiiigghtt overshoot the target in some cases, especially if the target is below effective range. Don't worry though, it will still acquire it at terminal attack phase.

--- Installation ---
Add-On Version;
Place this to designated locations;

FGM148Javelin	>>	mods\update\x64\dlcpacks


Then edit the dlclist.xml in mods\update\update.rpf\common\data;

		<Item>dlcpacks:/FGM148Javelin/</Item>

Replace Version;
Place these to designated locations;

FGM148Javelin_Replace	>>	mods\update\x64\dlcpacks

		and
		
weaponhominglauncher.meta	>>	mods\update\update.rpf\dlc_patch\mpchristmas2\common\data\ai


Then edit the dlclist.xml in mods\update\update.rpf\common\data;

		<Item>dlcpacks:/FGM148Javelin_Replace/</Item>

Surprised you can install Replace version as a dlcpack too instead of copying the entire vanilla dlcpack?

Update 2.1;
- Forgot to use new explosion data in Replace Version. My apologies for this.

Update 2.0;
- Functional tandem shaped charge to go through Explosive Reactive Armor, thanks to the new explosion data, FLAG_HAS_CAPPED_EXPLOSION_DAMAGE flag no longer hinders the Javelin.
- Increased CLU maintaining Target-Lock; It will no longer keep jumping between targets as long as the target is still in CLU's Line-of-Sight and Target-Lock zone, refer the 18th screenshot.
The only downside is, if CLU starts tracking the wrong target, you have to stop aiming to Lock-On to a different target. Alternatively, you can move the visor outside the Dead Zone.
- Add-On version thanks to the Yukikaze and HeySlickThatsMe.
- New NightVision scope. (Had to disable Missile Separation Time, otherwise when fully zoomed in, I observed the missile just descends instead of ascending whether you locked in or not).

Addionatal Notes;
- The reticle link in the Screenshots; https://www.gta5-mods.com/weapons/custom-sniper-rifle-crosshair
- I learned how to make a custom zoom visor and crosshair, although it's not something as I expected to be. Have to install some shitty Flash Player thingy and then draw the Javelin's CLU visor in a basic Paint...
So it might take a while...

--- Planned Features ---
- Add-On version when I learn how to. (COMPLETED)
- Custom Scope & Crosshair when I learn how to. (DELAYED)